<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="flexible.debug.js"></script>
    <script src="jquery.js"></script>
    <script src="1.js"></script>
    <link rel="stylesheet" href="css/index.css">
    <style>
    	#uu li:nth-child(1) input,
    	#uu li:nth-child(2) input,
    	#uu li:nth-child(3) input{width: 50%!important;}
    </style>
</head>
<body>
	<header>
		<p>
		<p class="d">
			<span></span>
			<span></span>
			<span></span>
			<span></span>
			<span></span>

		</p>&nbsp;
		<span>DYF</span>&nbsp;
		<span></span>
		 </p>
		<p id="date"><span>9</span>:<span>41</span>AM</p>
		<p id="px">
			<span>60%</span>
			<meter value=".6"></meter>
		</p>
	</header>
<main>
	

	<section>
		<dl>
			<dt><img src="img/t1.png" alt=""></dt>
			<dd>
				<h1>咪咕注册</h1>
			</dd>
		</dl>
		<form action="#">
			<ul id="uu">
				<li><label for="user_name">输入账号：</label><input type="text" id="user_name"></li>
				<li> <label for="user_m">输入密码：</label><input type="password" id="user_m"><span id="wang" class="yan"></span></li>
				<li><label for="user_m2">再次输入：</label><input type="password" id="user_m2"><span id="wang" class="yan"></span></li>
				<br>
				<li><input type="button" value="确认注册" class="red" id="yes"></li>
				<li><input type="button" value="返回登录" id="fan"></li>
			</ul>
		</form>
	</section>

</main>

<script>
	yes.onclick=()=>{
		if(user_name.value==""){
			alert("请输入账号")
		}else if(user_m.value==""){
			alert("请输入密码")
		}else if(user_m2.value==""){
			alert("请再次输入密码")
		}else

		if(user_m.value==user_m2.value){
			xx(user_name.value,user_m.value,"zc")
		}else{
			alert("密码不一致，请重新输入")
		}	
}
fan.onclick=()=>{
	open("file:///D:/4duan/test2/4_paragraph/10.16/index.html","_self")
}
</script>



	</body>
	</html>